package ar.uba.fi.tonyvaliente.tree;

public class MemoryBPlusTreeReference<K extends Comparable<K>, V> extends BPlusTreeNodeReference<K, V> {
	private BPlusTreeNode<K, V> node;
	
	@Override
	public BPlusTreeNode<K, V> getNode() {
		return this.node;
	}

	@Override
	public void setNode(BPlusTreeNode<K, V> node) {
		this.node = node;
		if (node != null) {
			this.node.setThisReference(this);
		}
	}

	@Override
	public void updateNode() throws BPlusTreeException {
	}
}
